<template>
	<view class="content">
	<uni-list v-for="(item,index) in list">
		<uni-badge :text="item.number" type="error" absolute="rightBottom" :offset=offset>
		<uni-list-item :title="item.name" :note="item.title" :thumb="item.image"></uni-list-item>
</uni-badge>
	</uni-list>
		</view>
</template>

<script>
	export default {
		data() {
			return {
				"list":[{
					"name":"梁超",
					"title":"信息工程学院",
					"image":"../../static/c1.png",
					"number":6
				},{
					"name":"黄俊",
					"title":"信息工程学院",
					"image":"../../static/c2.png",
					"number":7
				}],
				offset:[25,15]
			}
		},
		
	}
</script>

<style>
</style>